<div id="box">
    <h3 id="add">Add Post</h3>
    <form id='form' action='#' method='post'>
        <fieldset id='personal'>
            <legend>INFORMATION</legend>
            <label for="categories">父类 : </label>
             <select name="categories">
                <option value='0'>请选择</option>
                <?php foreach ($this->categories as $category):?>
                    <option value='<?php echo $category->id;?>'><?php echo $category->name;?></option>
                <?php endforeach;?>
             </select>
             <br />
            <label for="title">标题 : </label>
            <input name="title" id="title" type="text" tabindex="1" size='36'/>
            <br />
            <label for="content">内容 : </label>
            <textarea name="content" id="content"></textarea>
        </fieldset>
        <div align="center">
            <input id="submit" type="submit" value="Submit" />
            <input id='reset' type='reset' value='Reset' />
        </div>
    </form>
</div>